﻿@model LastoRevival.Service.Contracts.Models.Threads
		   
<script type="text/javascript">

	function collapseThread(id)
	{
		$("#thread-children-" + id).hide();
		$("#thread-collapse-" + id).hide();
		$("#thread-expand-" + id).show();
	}

	function expandThread(id)
	{
		$("#thread-children-" + id).show();
		$("#thread-expand-" + id).hide();
		$("#thread-collapse-" + id).show();
	}

</script>


@*-- forum thread list *@
@foreach (var thread in Model) 
{
	@Html.Partial("CollapsibleThread", thread)
}
    

